<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Set Regusers OK</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<script language=javascript>
		var a;
		var v="<%=request.getAttribute("projectId")%>";
		if(v!="null" && v!=""){
			a=v;
		}else{
			a="<%=request.getParameter("projectId")%>";
		}
		function back(){
			//在新建项目窗口设置参与人员，有opener.在数据管理里设置没有opener。
			if(window.opener){
				opener.window.top.location.href="<%=path%>/changeProject.do?proId="+a;
				window.close();
			}else{
				window.top.location.href="<%=path%>/changeProject.do?proId="+a;
			}
		}
		function setConfirm(){
			window.location.href="<%=path%>/pOperate/setConfirm.do?projectId="+a+"&isInitProject=1";
		}
	</script>

    <style type="text/css">
<!--
.STYLE2 {font-size: 12px; font-family: "宋体";}
-->
    </style>
</head>
  
  <body>
    <div align="center"></div>
  <table width="600" border="0" align="center">
    <tr>
      <td height="400" bgcolor="#FFFFFF"><div align="center">
          <label><span class="STYLE2"><bean:message key="set"/>&nbsp; <bean:message key="participant"/></span></label>
          <p>
            <input name="btnBack" type="button" id="btnBack" value='<bean:message key="back"/>' onClick="back();">
          </p>
          <p>
            <input name="btnBack" type="button" id="btnBack" value="<bean:message key='project.setconfirm'/>" onClick="setConfirm();">
          </p>
      </div></td>
    </tr>
  </table>
  </body>
</html>
